﻿//-----------------------------------------------------------------------
// <copyright file="ICommandLineInterfaceHandler.cs" company="FastNET Services">
//     Copyright (c) 2008-2009. All Rights Reserved.
// </copyright>
// <license>
//     GPLv2
// </license>
// <warranty>
//     THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR IMPLIED, INCLUDING
//     BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY, FITNESS FOR A PARTICULAR PURPOSE AND
//     NONINFRINGEMENT. IN NO EVENT SHALL THE AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM,
//     DAMAGES OR OTHER LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM,
//     OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE SOFTWARE.
// </warranty>
//-----------------------------------------------------------------------
#region Usings

using System.Collections.Generic;

#endregion

namespace GateShift.Services.SDK.Services.HostIntegration
{
    /// <summary>
    /// Public interface to allow for a Service to interface with the command line interface
    /// </summary>
    public interface ICommandLineInterfaceHandler
    {
        /// <summary>
        /// Entry method to process a set of commands for the root command
        /// </summary>
        /// <param name="arguments">List of string with all the arguments for this command</param>
        /// <returns>Boolean whether or not the command could be processed</returns>
        bool HandleCommand(List<string> arguments);
    }
}